

	<!-- 当前位置导航 START -->
	<div class="top_cur_pos">
		<span><a href="{$_s.web_dir}">首页</a>&nbsp;&gt;&nbsp;找回密码</span>
	</div>
	<!-- 当前位置导航 END -->

	<div class="space20"></div>

	<!-- 主体区 -->
	<div class="area">

		<!-- 找回密码 START -->
		<div class="sl_t_block bdcolor-olivine">
			<div class="tt">
				<h2 class="color-olivine">找回密码</h2>
			</div>
			<div class="main-block user-login-reg">
				
				<!-- 找回密码过程 START -->
				<h2 class="findpwd-flow">
					填写账户名&nbsp;&gt;&nbsp;<b>选择方式</b>&nbsp;&gt;&nbsp;信息验证&nbsp;&gt;&nbsp;密码重置&nbsp;&gt;&nbsp;重新登录
				</h2>
				<!-- 找回密码过程 END -->

				<!-- 表单 START -->
				<div class="form-block">
					<form id="fm_findpwd" action="./index.php?mdl=findpwd&do=method" method="post" target="ajax">
						<input type="hidden" name="formAction" value="{$_act.mdl}_{$_act.do}" />
						<input type="hidden" name="resend" id="resend" value="0" />

						<dl ><dt>&nbsp;</dt><dd><h2>选择方式</h2></dd><div class="clear"></div></dl>
						<dl ><dt>用户名：</dt><dd>{$userinfo.username}</dd><div class="clear"></div></dl>
						{if $userinfo.email != ''}
						<dl ><dt>邮箱：</dt><dd>{$userinfo.email}</dd><div class="clear"></div></dl>
						{/if}
						<dl ><dt>&nbsp;</dt>
							{if $userinfo.email != ''}
							<dd><input type="submit" tabindex="1" name="by_email" id="by_email" value="邮箱验证" class="btn-2th" /></dd>
							{/if}
							{if $userinfo.password_faq != ''}
							<dd><input type="button" tabindex="2" name="by_faq" id="by_faq" value="密保验证" class="btn-2th" /></dd>
							{/if}
							<div class="clear"></div></dl>
					</form>
				</div>
				<!-- 表单 END -->

				<!-- 提示信息 START -->
				<div class="form-block">
					<ul class="single_line">
						<li><h2>还不是{$_sysvars.shop_name}商城用户？</h2></li>
						<li>现在免费注册成为{$_sysvars.shop_name}商城用户，便能立刻享受便宜又放心的购物乐趣。</li>
						<li><a href="/index.php?mdl=user&do=register"><b>现在去注册&gt;&gt;</b></a></li>
					</ul>
				</div>
				<!-- 提示信息 END -->
				
				<div class="clear"></div>
			</div>
		</div>
		<!-- 找回密码 END -->

	</div>

	

<script type="text/javascript" language="JavaScript" charset="utf-8">
<!-- 
	var email = '{$userinfo.email}';
	{literal}
	jQuery(function($){
		$('#by_faq').click(function(){
			window.location.href = './index.php?mdl=findpwd&do=faq';
		});
	});

	function resend(){
		$('#resend').val('1');
		$('#fm_findpwd').trigger('submit');
	}

	function callback_findpwd_method(params){
		$('#resend').val('0');
		if(params.result == 'succ'){
			var href = 'http://mail.'+((email.split('@')).pop());
			var html = ['邮件发送成功!'];
			html.push('系统已向你的邮箱【'+email+'】发送了一封验证邮件，请验证。');
			html.push('前往您的邮箱：<a href="'+href+'" target="_blank">'+href+'</a>');
			html.push('<a href="#" onclick="resend();return false;">未收到邮件，重新发送！</a>');
			params.msg = html.join('<br />');
			params.ttl = 600000;
		}
		callback_common(params);
	}
	{/literal}
//-->
</script>